const EcrfDetail = () => import(/* webpackChunkName: "ecrf-detail" */ '@/pages/ecrf-detail/index.vue')
const NoAuth = () => import(/* webpackChunkName: "material" */ '@/pages/no-auth/index.vue')
const ErrorPage = () => import(/* webpackChunkName: "error-page" */ '@/pages/error-page/index.vue')

const routes = {
  ecrfDetail: {
    path: 'ecrf-detail',
    name: 'ecrf-detail',
    component: EcrfDetail,
    meta: {
      title: '受试者详情'
    }
  },
  errorPage: {
    path: 'error-page',
    name: 'error-page',
    component: ErrorPage,
  },
  noAuth: {
    path: 'no-auth',
    name: 'no-auth',
    component: NoAuth,
  }
}

export default routes
